<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
header("Access-Control-Allow-Origin:*");
/* @var $this yii\web\View */
/* @var $form yii\widgets\ActiveForm */
/* @var $model app\models\LoginForm */

$this->title = '登录';
?>
<?=Html::cssFile('@web/css/common.css')?>
<?=Html::cssFile('@web/css/dl.css')?>
<?=Html::jsFile('@web/js/jquery-1.11.3.min.js')?>
<?=Html::jsFile('@web/js/verify.js')?>
<?=Html::jsFile('@web/js/dl.js')?>
<?=Html::jsFile('@web/js/login.js')?>
<html>
<body>
<div class="conent">
    <p>深&nbsp;度&nbsp;资&nbsp;金&nbsp;图&nbsp;谱&nbsp;平&nbsp;台</p>
    <div class="conent_dl">
        <div class="conent_int">
            <p>欢迎登陆</p>
            <ul>
                <li>
                    <img src="images/yhm-icon.png" alt=""/>
                    <input name="uname" type="text" placeholder="请输入账号" id="put1" value=""/>
                    <div class="clearfix"></div>
                </li>
                <li>
                    <img src="images/mm-icon.png" alt=""/>
                    <input name="upwd" type="password" placeholder="请输入密码" id="put2" value="" />
                    <div class="clearfix"></div>
                </li>
                <li>
                    <img src="images/yzm-icon.png" alt=""  />
                    <input type="text" placeholder="请输入验证码" id="put3" />
                    <div class="clearfix"></div>
                </li>
                <div id="mpanel2" ></div>
                <div class="clearfix"></div>
            </ul>
            <div class="checkbox">
                <a href="#" class="fr">找回密码</a>
                <span class="fr">记住密码</span>
                <div id="checkbox" class="fr"></div>
            </div>
            <a  class="button login_button">登 &nbsp;&nbsp;&nbsp;陆</a>
        </div>

    </div>
</div>
<script type="text/javascript">
    $('#mpanel2').codeVerify({
        type : 1,
        width : '95px',
        height : '40px',
        fontSize : '20px',
        codeLength : 4,
        btnId : 'check-btn',
        ready : function() {
        },
        success : function() {
            alert('验证匹配！');
        },
        error : function() {
            alert('验证码不匹配！');
        }
    });
</script>
</body>
</html>


<?php exit;?>
